package com.djl.sqtg.mapper;

import com.djl.sqtg.entity.Cart;
import com.djl.sqtg.entity.CartVO;
import com.djl.sqtg.entity.Review;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ReviewMapper {
    List<Review> getAllReview();
    Integer updateReviewState(Integer rid,Integer state);
    Integer addReview(Review review);
    Integer replyReview(Integer rid,String reply);
    Integer delReview(Integer rid);
    Integer getAllNum();
}
